﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CMTVision.Common;

namespace CMTVision.Widgets.Framework
{
    public interface IWidget 
    {
        long WidgetID { get; set; } 

        bool IsInEditting { get; set; }

        string State { get; set; }
               
        void InitContainer(IWidgetContainer container);

        void Initialize();

        void Edit();

        void Delete();

        void Save();
        
        void Refresh();
    }
}
